package com.example.mardan_demo1.mapper;


import com.example.mardan_demo1.pojo.yp.Count;
//import com.example.mardan_demo1.pojo.yp.YpInfo;
import com.example.mardan_demo1.pojo.yp.YpInfo;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;
@Mapper
public interface YpInfoMapper {
    int insert(YpInfo record);
    List<YpInfo> getOwnListByUserId(Integer userID, String yangPinMingCheng);
    YpInfo getDetailById(Integer id);
    YpInfo getYpInfoById(Integer id);
    void updateById(YpInfo ypInfo);
    List<YpInfo> adminGetYpList(String yangPinMingCheng);
    void deleteYaoPinById(Integer id);
    Integer adminGetDaiShouLiShuLiang();
    Integer adminGetWanChengShuLiang();
    Integer adminGetJianYanZhong();
    Integer adminGetQxJianYanZhong();
    Count getCount();
}